module.exports = {
    presets: [
        "@babel/preset-env",
        // 按需加载core-js的polyfill
        { 
            useBuiltIns: "usage", 
            corejs: { 
                version: "3",
                proposals: true 
            } 
        },
    ],
};